package com.etc.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component(value="blog")
public class Blog {
	@Value(value="1")
	private int id;
	@Value(value="今天吃什么")
	private String Title;
	@Value(value="吃菠萝")
	private String content;
	@Override
	public String toString() {
		return "Blog [id=" + id + ", Title=" + Title + ", content=" + content + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return Title;
	}
	public void setTitle(String title) {
		Title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}

}
